package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 工单号
 *
 * @author hbq
 * @date 2021-04-01 13:45:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pdt_work_order")
public class PdtWorkOrder extends SuperEntity {
    private static final long serialVersionUID=1L;

        @Excel(name = "工单号")
        @ApiModelProperty(value = "工单号")
        private String woNo;
        @Excel(name = "父级工单号")
        @ApiModelProperty(value = "父级工单号")
        private String parentWoNo;
        @Excel(name = "机种")
        @ApiModelProperty(value = "机种")
        private String modelCode;
        @Excel(name = "机种名称")
        @ApiModelProperty(value = "机种名称")
        private String modelName;
        @Excel(name = "批次号")
        @ApiModelProperty(value = "批次号")
        private String batch;
        @Excel(name = "版本")
        @ApiModelProperty(value = "版本")
        private String ver;
        @Excel(name = "线体")
        @ApiModelProperty(value = "线体")
        private String line;
        @Excel(name = "正反面(S：正面，C：反面，A：单面)",replace ={"正面_S","反面_C","单面_A"})
        @ApiModelProperty(value = "正反面(S：正面，C：反面，A：单面)")
        private String scFlag;
        @Excel(name = "计划数量")
        @ApiModelProperty(value = "计划数量")
        private Long planQty;
        @Excel(name = "抽检数量")
        @ApiModelProperty(value = "抽检数量")
        private Long checkQty;
        @Excel(name = "投入量")
        @ApiModelProperty(value = "投入量")
        private Long intoQty;
        @Excel(name = "产出量")
        @ApiModelProperty(value = "产出量")
        private Long outQty;
        @Excel(name = "报废量")
        @ApiModelProperty(value = "报废量")
        private Long scrapQty;
        @Excel(name = "计划开始日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "计划开始日期")
        private Date planStartTime;
        @Excel(name = "计划结束日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "计划结束日期")
        private Date planEndTime;
        @Excel(name = "实际开始时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "实际开始时间")
        private Date realStartTime;
        @Excel(name = "实际结束时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "实际结束时间")
        private Date realEndTime;
        @Excel(name = "开单时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "开单时间")
        private Date woTime;
        @Excel(name = "开单人")
        @ApiModelProperty(value = "开单人")
        private String woName;
        @Excel(name = "状态")
        @ApiModelProperty(value = "状态")
        private Integer state;
}
